<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<%@ taglib uri="/struts-tags" prefix="s"%>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
</head>
<body>
	<s:iterator value="works">
		<s:property value="NAME" />
		<s:url var="urlw" action="updateWorkP" namespace="/adminOnly/action">
			<s:param name="work_id">
				<s:property value="ID" />
			</s:param>
		</s:url>
		<s:url var="urld" action="deleteWork" namespace="/adminOnly/action">
			<s:param name="work_id">
				<s:property value="ID" />
			</s:param>
			<s:param name="id">
				<s:property value="id" />
			</s:param>
		</s:url>
		<a href="${urlw}">get Work:<s:property value="ID" /></a>
		<a href="${urld}" style="color: red;">delete Work: <s:property value="ID" /></a>
		<br />
	</s:iterator>
</body>
</html>